package com.linan.docmanage.service.impl;

import com.linan.docmanage.domain.User;
import com.linan.docmanage.mapper.UserMapper;
import com.linan.docmanage.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements IUserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> queryUser() {
        List<User> list = userMapper.queryAllUser();
        return list ;
    }
}
